package com.example.service;

import com.example.pojo.dto.SelectCourseDto;
import com.example.pojo.entity.Course;
import com.example.pojo.vo.SelectCourseVo;
import com.example.pojo.vo.UserInfoVo;

import java.util.List;

public interface CourseService {

    List<SelectCourseVo> getCoursesByLevelAndCate(SelectCourseDto selectCourseDto);

    //boolean updateCourseCoverImage(String path, Integer courseId, Integer gradeLevel, String userAdd);
    boolean updateCourseCoverImage(String path, Integer courseId);

    SelectCourseVo getCourse(SelectCourseDto selectCourseDto);

    SelectCourseVo updateCourse(Course course);

    List<UserInfoVo> getNumByCourseId(Integer courseId);

}
